package com.kgc.ljp.server.entity;

import java.io.Serializable;

/**
 * 鸡雄类，继承自卡牌类
 */
public class HeroClass extends PokeCard implements Serializable {
    //暴击率
    private int boom;
    @Override
    public void print() {
        System.out.println(this.getName()+"\t"+this.getPower()+"\t\t"+this.getBlood()+"\t\t"+this.getDefense()+"\t\t"+this.getBoom()+"\t\t"+this.getSkill());
    }
    public HeroClass() {
    }

    public int getBoom() {
        return boom;
    }

    public void setBoom(int boom) {
        this.boom = boom;
    }

    public HeroClass(String name, int power, int blood, int defense, String skill, int boom) {
        super(name, power, blood, defense, skill);
        this.boom = boom;

    }
}
